package com.test.qpbgboot.schedule.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

@Data
public class OrderCreateParam {
    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long userId;
    @ApiModelProperty(value = "房间id")
    @NotNull(message = "房间id不能为空")
    private Long roomId;
    @ApiModelProperty(value = "陪玩id")
    private List<Long> escortIdList;
    @ApiModelProperty(value = "桌游内容")
    private String game;
    @ApiModelProperty(value = "额外说明")
    private String message;
    @ApiModelProperty(value = "预约日期")
    @NotNull(message = "预约日期不能为空")
    private LocalDate appointmentDate;
    @ApiModelProperty(value = "预约开始时间")
    @NotNull(message = "预约时间不能为空")
    private LocalTime startTime;
    @ApiModelProperty(value = "预约结束时间")
    @NotNull(message = "预约时间不能为空")
    private LocalTime endTime;
}
